package com.slwu.factory.abstracts;

import com.slwu.factory.abstracts.buttons.Button;
import com.slwu.factory.abstracts.buttons.SpringButton;
import com.slwu.factory.abstracts.comboBoxs.ComboBox;
import com.slwu.factory.abstracts.comboBoxs.SpringComboBox;
import com.slwu.factory.abstracts.textFields.SpringTextField;
import com.slwu.factory.abstracts.textFields.TextField;

/**
 * spring 风格界面工厂类
 * @author wushaolin
 * @since 2023-11-27
 */
public class SpringSkinFactory implements SkinFactory {
    @Override
    public Button createButton() {
        return new SpringButton();
    }

    @Override
    public TextField createTextField() {
        return new SpringTextField();
    }

    @Override
    public ComboBox createComboBox() {
        return new SpringComboBox();
    }
}
